/**
 * Created by bai on 2015-10-30.
 */
var app=angular.module('app',['ngRoute','controller','service',"AJAX"]);
app.config(function($routeProvider){
    $routeProvider.when('/fuwuList',{
        templateUrl:'45服务.html',
        controller:'serviceList'
    }).when('/fuwuInfo',{
        templateUrl:'50服务详情.html',
        controller:'serviceInfo'
    }).when('/memberList',{
        templateUrl:'member.html',
        controller:'memberList'
    }).when('/memberInfo',{
        templateUrl:'50会员详情.html',
        controller:'memberInfo'
    }).otherwise({
        redirectTo: '/fuwuList'
    })
});
app.controller('Allcontroller',function($scope,$location,BACK){
    $scope.back=function(){
        //alert(1)
        BACK.backTo();
    }
})